
const app = getApp()
Page({

  /**
   * 页面的初始数据
   */
  data: {
    themeStyle: "",
    searchWords: "",
    switchArr: [
      {
        title: "租商铺",
        key: "newHouse",
      },
      {
        title: "买商铺",
        key: "dyn",
      },
    ],
    tagArr: [
      {
        name: "租商铺",
        icon: "../../../img/ssp_icon.png",
        category: 1,
        saleType: 1,
        key: "rentShop"
      },
      {
        name: "买商铺",
        icon: "../../../img/sgy_icon.png",
        category: 1,
        saleType: 2,
        key: "buyShop",
      },
      {
        name: "租写字楼",
        icon: "../../../img/sds_icon.png",
        category: 2,
        saleType: 1,
        key: "rentOffice"
      },
      {
        name: "买写字楼",
        icon: "../../../img/sxzl_icon.png",
        category: 2,
        saleType: 2,
        key: "buyOffice"
      }
    ],
    selectIndex: 0,//租商铺，1:买商铺
    selectHelpIndex: 0,//帮我找铺，1:投放铺源
    helpSwitchTabArr: [
      {
        title: "帮我找铺",
        key: "newHouse",
      },
      {
        title: "投放商铺",
        key: "dyn",
      },
    ],
    newCerList: [
      { type: 1 }, { type: 1 }
    ],
    allSearchTags: [
      { name: "茶楼" }, { name: "餐饮" }, { name: "服装" }, { name: "太古里" },
      { name: "临街" }, { name: "仓库" }, { name: "档口摊位" }, { name: "生意转让" },
    ],
    // 悬浮相关
    newScrollTop: 0,
    newOffsetTop: 0,
    toView: "",
    secondHouseList: [
      { type: 1 }, { type: 1 }, { type: 1 }, { type: 1 }, { type: 1 }, { type: 1 }, { type: 1 }, { type: 1 },
    ],
    houseList: [],
    couponCodeBtnStatus: false,
    couponCodeBtnTitle: "获取验证码",
    snsMsgWait: 60,//倒计时

    requestData: {
      "category": 1,
      "cityName": "",
      "decoration": "",
      "maxArea": 0,
      "maxTotalPrice": 0,
      "maxUnitPrice": 0,
      "minArea": 0,
      "minTotalPrice": 0,
      "minUnitPrice": 0,
      "page": 0,
      "pageSize": 10,
      "saleType": 1,
      "storey": "",
      "subway": "",
      "tags": [],
      "words": "",
      "zone": "",
      "usedType": "",
    },
    isShowLoading: false,
    isBottomShow: false,
    bindUserId: "",

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },


})